<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<script src="/bzbs/manager/layer/jquery-1.9.1.js"></script> <!-- 你必须先引入jQuery1.8或以上版本 -->
<script src="/bzbs/manager/layer/layer.js"></script>



<script type="text/javascript">

$(function(){
	
//搜索
function sou(obj){
	var b = $("#in").val();
	if (b==""){	
		return false;
	}
	window.location.href="/store/demo29?name="+b;
}	
});
</script>
<style type="text/css">
	body{
	background: url("/bzbs/manager/seat/img/bj.jpg") repeat;
	background-size: 100%;
		background-color: #EEEEEE;	
		margin: auto;	
		}
		
		
		#header {
	height: 95px;
}

#header .tupian {
	width:200px;
	height:100px;
	float:left;
	margin-left:20px;
}


#header  .sou {
	float: right;
	width: 570px;
	margin-top: 35px;
	margin-right: 150px;
}

#header  .sou .sousuo {
	width: 560px;
	float: left;
	border: 2px solid red;
}

#header  .sou .kuang {
	width: 466px;
	height: 27px;
	float: left;
	padding: 4px 4px;
	line-height: 24px;
	border: none;
}

#header  .sou .souzi {
	width: 86px;
	float: right;
	background: red;
}

#header  .sou .souzi a {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: white;
	text-align: center;
	line-height: 35px;
	text-decoration: none;
}
#nav {
	position: relative;
	margin: 8 auto;
	width: 100%;
	height: 10px;
	float: left;
	border-bottom: 2px solid red;
}

.huanying {
	margin-left: 10px;
	height: 20px;
	width: 200px;
	float: left;
	background: red;
	text-align: center;
	border-radius: 10px;
}
		
		
		
		
		
		
	#serach{
		float: left;
		width: 100%;
		position: relative;
		}
	#serach .sou{
		position: relative;	
		float: left;
		margin-top: -10px;
        }
	#serach .sou .sousuo{
		margin-top: 20px;
		margin-left: 100px;
		position: relative;
		border-radius:7px;
		margin: 8 auto;	
		width: 800px;
		height: 287px;
		float: left;
		background: white;
		}
	#serach .sou .sousuo .tupian{
		float: left;
		width: 240px;		
		height: 290px;
		margin-top: 20px;
		text-align:center;
		margin-left: 5px;
		}
	#serach .sou .sousuo .mingcheng1{
		margin-left: -13px;
		margin-top: 37px;
		float: left;
		font-size: 15px;
		font-weight: 550;
		width: 400px;		
		height: 27px;
		}
	#serach .sou .sousuo .mingcheng2{
		margin-left: -13px;
		float: left;
		font-size: 15px;
		font-weight: 550;
		width: 400px;		
		height: 27px;
		}
	#serach .sou .sousuo .mingcheng3{
		margin-left: -13px;
		float: left;
		font-size: 15px;
		font-weight: 550;
		width: 400px;		
		height: 27px;
		}	
	#serach .sou .sousuo .mingcheng4{
		margin-left: -13px;
		float: left;
		font-size: 15px;
		font-weight: 550;
		width: 400px;		
		height: 27px;
		}
	#serach .sou .sousuo .mingcheng5{
		margin-left: -13px;
		float: left;
		font-size: 15px;
		font-weight: 550;
		width: 400px;		
		height: 27px;
		}	
	#serach .sou .sousuo .mingcheng6{
		margin-top: 33px;
		margin-left: 7px;
		float: left;
		font-size: 15px;
		font-weight: 550;
		width: 400px;		
		height: 40px;
		}
	
	
	
	
		
	
	
		
	#serach .sou .sousuo1{
		margin-left: 100px;
		margin-top: 9px;
		position: relative;
		margin: 8 auto;	
		width: 800px;
		height: 41px;
		float: left;
		background: white;
		border-bottom:1px solid red
		}	
	.dselected{	
		height: 41px;
		width: 100px;
		float: left;
		background: red;
		text-align: center;
	}
	.aselected{
		line-height: 41px;
		cursor:default;
		font-size: 15px;
		font-weight: 500;
		color: white;	
		text-decoration: none;
		}
	.dnoselected{
		width: 100px;
		float: left;
		background: white;
		text-align: center;
	}
	.anoselected{
		display: block;
		font-size: 15px;
		font-weight: 500;
		color:  #666666;
		line-height: 41px;
		text-decoration: none;
		}
	.anoselected:hover{
		color: red;
        }	
        
        
        	
	#serach .sou .d1{
		margin-left: 100px;
		position: relative;
		margin: 8 auto;	
		width: 800px;
		height: 200px;
		float: left;
		background: white;
		}
	#serach .sou .d1 .neirong1{
		margin-top: 25px;
		margin-left: 25px;
		}
	#serach .sou .d2{
		margin-left: 203px;
		position: relative;
		margin: 8 auto;	
		width: 955px;
		height: 1000px;
		float: left;
		background: white;
		margin-bottom: 110px;
		}
	#serach .sou .d2 .neirong2{
		width: 955px;
		height: 160px;
		background: white;
		border-bottom:1px solid #EEEEEE; 
		}	
	#serach .sou .d2 .neirong2 .n1{
		margin-top: 45px;
		margin-left: 70px;
		width: 60px;
		height: 70px;
		float: left;	
		}							
	#serach .sou .d2 .neirong2 .n2{
		margin-top: 67px;
		width: 65px;
		height: 60px;
		float: left;
		font-size: 14px;
		font-weight: 400;
		}	

		
		
		
		
		
	

</style>
</head>
<body>

<div id="header">
			<div class="tupian">
				<img src="/bzbs/system/img/logo.png"
					style="width: 210px; height: 100px" />
			</div>

			<div class="sou">
				<div class="sousuo">
					<input id="in" type="text" class="kuang" name="name"
						required="required" style="color: #999; font-size: 14px"
						value="${name1}" />
					<div class="souzi">
						<a href="javascript:void(0)" onclick="sou(this)">搜索</a>
					</div>
				</div>
			</div>
			<div id="nav" >
			<div class="huanying">
				<font color="white">欢迎来到百占百胜在线商城</font>
			</div>
		</div>

		</div>	
	
	

	<div id="serach">
		<div class="sou">
		
		
    		<div class="sousuo">
    			<div class="tupian" ><font ><img style="width:200px;height:250px" src="<%=path%>/shoponline/img/${commodity.imgName}"/></font></div>
    			<div class="mingcheng1"><font >商品名称：</font><font color="#FF0088">${commodity.commName}</font></div>
    			<div class="mingcheng3"><font >商品类别：</font><font color="#3399FF">${commodity.type}</font></div>
    			<div class="mingcheng4"><font >联系方式：</font><font id="contact" color="#3399FF">${commodity.contact}</font></div>
    			<div class="mingcheng5"><font >商品价格：</font><font color="#3399FF">￥${commodity.price}</font></div>
    			<div class="mingcheng5"><font >团队宣言：</font><font color="#3399FF">放弃该放弃的是无奈，放弃不该放弃的是无能；不放弃该放弃的是无知，不放弃不该放弃的是执着。</font></div>
    		</div>
    	
    	
			<div class="sousuo1" id="ul1">							
				<div class="dselected"><a id="d1" class="aselected" href="javascript:void(0)">商品介绍</a></div>				
    		</div>				  			
     	
    		<div class="d1" id = "d1a" style="display: inline-block;">			
     			<div class="neirong1" style="display: inline-block;">
     				<font  >${commodity.detail}</font>
     			</div>
     		</div>
     		
     		
		</div>
	</div>

</body>




</html>












